#include <iostream>
using namespace std;
int main ()
{
    cout<<"Vvedite dlinu"<<endl;
    double dlina;
    cin>>dlina;
    cout<<"A v kakih edinizah?"<<endl;
    int razmer;
    cin>>razmer;
    switch (razmer)
    {
    case 1:cout<<dlina*0.1<<"m";
        break;
    case 2:cout<<dlina*1000<<"m";
        break;
    case 3:cout<<"So easy, it's "<<dlina<<"m";
        break;
    case 4:cout<<dlina*0.001<<"m";
        break;
    case 5:cout<<dlina*0.01<<"m";
        break;
    default:cout<<"Neponyatki";
    }
    return 0;
}
